package com.elves.auth;


import com.elves.auth.config.AppEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import java.time.LocalDateTime;
import org.springframework.security.crypto.password.PasswordEncoder;

@Slf4j
@SpringBootApplication
@EnableTransactionManagement
@EnableScheduling
@EnableAsync
public class StartRun {
    public static void main(String[] args) {
        System.out.println(LocalDateTime.now().format(AppEnum.TIME_FORMATTER));
        log.info("App start !");

        SpringApplication.run(StartRun.class, args);
    }

}
